home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / GLUT-3.7 / GLUTDEFS < prev    next >
Encoding:
Text File  |  1998-08-12  |  1.3 KB  |  51 lines

  1. #
  2. # glutdefs - common SGI Makefile defines for building GLUT
  3. #
  4. # Copyright (c) Mark J. Kilgard, 1997.
  5. #
  6.  
  7. # By default, we build for the "least common denominator"
  8. # object style with is "old" 32-bit style.  Set your
  9. # OBJECT_STYLE environment variable to build GLUT's demos 
  10. # and examples with some other ABI.  For example, to build
  11. # N32 with -mips3 support, use:
  12. #
  13. #  setenv OBJECT_STYLE N32_M3
  14. #
  15. #if !defined(OBJECT_STYLE)
  16. OBJECT_STYLE=32
  17. #endif
  18.  
  19. # Object style logic.  Note:  the NONE and R32 object style
  20. # are not supported.
  21. #
  22. #if $(OBJECT_STYLE) == "64"
  23. GLUT_LIB_SUFFIX=.n64
  24. #elif $(OBJECT_STYLE) == "64_M3"
  25. GLUT_LIB_SUFFIX=.n64
  26. #elif $(OBJECT_STYLE) == "64_M4"
  27. GLUT_LIB_SUFFIX=.n64
  28. #elif $(OBJECT_STYLE) == "32_ABI"
  29. GLUT_LIB_SUFFIX=
  30. #elif $(OBJECT_STYLE) == "N32"
  31. GLUT_LIB_SUFFIX=.n32
  32. #elif $(OBJECT_STYLE) == "N32_M3"
  33. GLUT_LIB_SUFFIX=.n32
  34. #elif $(OBJECT_STYLE) == "N32_M4"
  35. GLUT_LIB_SUFFIX=.n32
  36. #elif $(OBJECT_STYLE) == "32"
  37. GLUT_LIB_SUFFIX=
  38. #elif $(OBJECT_STYLE) == "32_M2"
  39. GLUT_LIB_SUFFIX=
  40. #else
  41. GLUT_LIB_SUFFIX=
  42. #endif
  43.  
  44. # Where to find the GLUT archive for the appropriate object style.
  45. #
  46. GLUT = $(TOP)/lib/glut$(GLUT_LIB_SUFFIX)/libglut.a
  47. FGLUT = $(TOP)/lib/fglut$(GLUT_LIB_SUFFIX)/libfglut.a
  48. MUI = $(TOP)/lib/mui$(GLUT_LIB_SUFFIX)/libmui.a
  49. GLE = $(TOP)/lib/gle$(GLUT_LIB_SUFFIX)/libgle.a
  50. GLSMAP = $(TOP)/lib/glsmap$(GLUT_LIB_SUFFIX)/libglsmap.a
  51.